<?php
namespace Site\Widget;
use Think\Controller;

class TemplateWidget extends Controller {  

    public function show($data){ 
        $this->assign($data);
        return $this->fetch('Widget:template');
    }
 }
?>
